#!/bin/ash

# ENABLE CORE
ulimit -c unlimited

# SETUP CORE PATH
mkdir -p /mnt/Freeze/CORE/
echo "/mnt/Freeze/CORE/core.%e.%p" > /proc/sys/kernel/core_pattern
chmod 777 /mnt/Freeze/CORE/

BiscuitOS-MOTION-MEMORY-GDBCORE-default
